package com.wxzz.elearing.comment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wxzz.elearing.comment.dto.CommunityQuestionsAnswersDto;
import com.wxzz.elearing.comment.dto.StudyQuestionsAnswersDto;
import com.wxzz.elearing.comment.entity.CommunityQuestionsAnswersList;
import com.wxzz.elearing.comment.entity.StudyQuestionsAnswersList;
import com.wxzz.elearing.comment.vo.CommunityQuestionsAnswersListVo;
import com.wxzz.elearing.comment.vo.StudyQuestionsAnswersListVo;
import com.wxzz.elearning.common.vo.JgPageVo;
import com.wxzz.elearning.common.vo.ReturnVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2021-05-14
 */
public interface IStudyQuestionsAnswersListService extends IService<StudyQuestionsAnswersList> {


    ReturnVO<String> saveQuestionsAnswers(StudyQuestionsAnswersList questionsAnswersList);

    ReturnVO<JgPageVo<List<StudyQuestionsAnswersListVo>>> queryQuestionsAnswersList(StudyQuestionsAnswersDto questionsAnswersDto);

    ReturnVO<StudyQuestionsAnswersList> readDraft(StudyQuestionsAnswersList questionsAnswers);

    ReturnVO<JgPageVo<List<StudyQuestionsAnswersListVo>>> adminStudyList(StudyQuestionsAnswersDto questionsAnswersDto);
}
